package com.mkl.ttxt.remote.bo;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public class TtxtUser {
    private Integer userId;
    private String userName;
    private String password;
    private String name;
    private Integer roleId;
    private String roleName;

    public TtxtUser(Integer userId, String userName, String password, String name, Integer roleId, String roleName) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.name = name;
        this.roleId = roleId;
        this.roleName = roleName;
    }

    public TtxtUser() {
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
